@w-radio:~ "w-radio";

.@{w-radio} {
  vertical-align: middle;
  display: inline-block;
  font-size: 12px;
  input[type='radio'] {
    outline: none;
    position: relative;
    width: 16px;
    height: 16px;
    background-clip: border-box;
    appearance: none;
    margin: -0.15px 0.6px 0 0;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #d7d7d7;
    transition: border 0.25s, box-shadow 0.25s;
    &:not(:checked):not(:disabled):not(.disabled) {
      &:hover,
      &:focus {
        box-shadow: 0 0 0 2px rgba(0, 142, 240, 0.25);
      }
    }
  }
  input[type='radio'],
  &-text {
    vertical-align: middle;
  }
  input[type='radio']:checked {
    border: 5px solid #008ef0;
    &:focus {
      box-shadow: 0 0 0 2px rgba(0, 142, 240, 0.25);
    }
  }
  &.disabled {
    color: #c7c7c7;
    cursor: not-allowed;
    input[type='radio'] {
      cursor: not-allowed;
      &:checked {
        border: 5px solid #cecece;
      }
    }
  }
  &.disabled:not(.checked) {
    input[type='radio'] {
      background-color: #efefef;
    }
  }
  &-text {
    display: inline-block;
    margin-left: 4px;
    margin-right: 5px;
    font-size: 14px;
  }
}
